//package com.kgc.scd.config;
//
//import com.baomidou.mybatisplus.annotation.DbType;
//import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
//import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * Created On : 2022/10/21 0021.
// * <p>
// * Author : shiguangchuan
// * <p>
// * Description: MyBatis配置类
// */
////@Configuration
//public class MybatisPlusConfig {
//
//    /**
//     * @author : shiguangchuan
//     * @date   : 2022/10/21 0021
//     * @param  : []
//     * @return : com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor
//     * @description : 增加 mybatis-plus的分页拦截器
//     */
//    @Bean
//    public MybatisPlusInterceptor mybatisPlusInterceptor(){
//        MybatisPlusInterceptor mybatisPlusInterceptor = new MybatisPlusInterceptor();
//        mybatisPlusInterceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
//        return  mybatisPlusInterceptor;
//    }
//}
